﻿package dut.ir.lxb.weibo.bean;

import java.util.Comparator;

public class WeiboComparator implements Comparator<WeiboBean>
{

	@Override
	public int compare(WeiboBean arg0, WeiboBean arg1)
	{
		if(arg0.getTime().compareTo(arg1.getTime()) >= 0)
			return -1;
		else
			return 1;
	}
	
}
